/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019.
 * Description: add rtos common
 * Author: zhangwen
 * Create: 2019-09-23
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef _RTOS_COMMON_H_
#define _RTOS_COMMON_H_

#ifdef CONFIG_RTOS_HAL_PCIE_AER_NOTIFY
extern struct blocking_notifier_head aer_notifier_list;
extern int register_aer_notifier(struct notifier_block *nb);
extern int unregister_aer_notifier(struct notifier_block *nb);
#endif

#endif /* _RTOS_COMMON_H_ */
